﻿namespace NiYo.ParserBuilder.Domain.Hl7.Enums
{
    /// <summary>
    /// Indicates how precise a datetime is. (Does not appear in hl7 message, but determines the format of the DateString.)
    /// </summary>
    public enum DateDegreeOfPrecision
    {
        /// <summary>
        /// Precision of a year
        /// </summary>
        Year,
        /// <summary>
        /// Precision of a month
        /// </summary>
        Month,
        /// <summary>
        /// Precision of a day
        /// </summary>
        Day,
        /// <summary>
        /// Precision of an hour
        /// </summary>
        Hour,
        /// <summary>
        /// Precision of a minute
        /// </summary>
        Minute,
        /// <summary>
        /// Precision of a second
        /// </summary>
        Second,
        /// <summary>
        /// Precision of a tenth of a second
        /// </summary>
        TenthOfASecond,
        /// <summary>
        /// Precision of a hundredth of a second
        /// </summary>
        HundredthOfASecond,
        /// <summary>
        /// Precision of a thousandth of a second
        /// </summary>
        ThousandthOfASecond,
        /// <summary>
        /// Precision of a ten thousandth of a second
        /// </summary>
        TenThousandthOfASecond
    }
}